package com.wzh.design.decoratorMode;

import lombok.Getter;

/**
 * @description:
 * @author: WZH
 * @time: 2021/4/20 10:47
 */
// 附加属性装饰者
@Getter
public abstract class AttachedPropertiesDecorator implements Man{
    private Man man;

    public AttachedPropertiesDecorator(Man man) {
        this.man = man;
    }

    @Override
    public void getManDesc() {
        man.getManDesc();
    }
}